package com.geekstudy.week10;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 *
 *
 * https://resilience4j.readme.io/docs/bulkhead
 * https://resilience4j.readme.io/docs/getting-started
 *
 */
@SpringBootApplication
public class Week10DubboProviderMain {

    static final Logger logger = LoggerFactory.getLogger(Week10DubboProviderMain.class);

    public static void main(String[] args) {

        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(Week10DubboProviderMain.class, args);

        logger.info("beanCount:{} ", configurableApplicationContext.getBeanDefinitionCount());

    }
}
